#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2018/1/25 10:10
# @Author  : yuxi
# @Site    : 
# @File    : run.py
# @Software: PyCharm

#coding=utf-8

import sys
import unittest
from utils.HTMLTestRunner import HTMLTestRunner
import time,os
from src.case.dgt_login import LoginTest

if __name__=='__main__':
     suite=unittest.TestSuite()
     #单条用例执行
     # suite.addTest(LoginTest('test_login'))
     #执行某个测试类下的所有case
     suite.addTest(unittest.makeSuite(LoginTest))
     print(suite)
     #执行case不生成测试报告
     runner = unittest.TextTestRunner()
     runner.run(suite)
